export interface Company {
    id: number,
    pid?: number,
    name: string,
    address?: string,
    province?: string,
    city?: string,
    telephone?: string,
    startTime?: string,
    legalPerson?: string,
    mobile?: string,
    creditCode?: string,
    license?: number,
    medicalPoint?: number,
    house?: string,
    certificate?: string,
    picture?: string,
    addAccountId?: number,
    addAccountName?: string,
    addTime?: string,
    adminId?: number,
    adminUserName?: string,
    adminPwd?: string,
    adminName?: string,
    adminMobile?: string,
    enable?: number
}

export interface CompanyParams {
    adminName?: string,
    name?: string,
    page?: number,
    pageSize?: number
}

export interface CompanyList {
    counts: number,
    pageSize: number,
    list: Array<Company>
}

//////////////////////////////
// 添加参数
export interface addCompany {
	address:string
    adminMobile:string
    adminName:string
    adminPwd:string
    adminUserName:string
    certificate:string
    city:string
    creditCode:string
    house:string
    id?:number
    legalPerson:string
    license?:number
    medicalPoint?:number
    mobile :string
    name:string
    picture:string
    province:string
    startTime:string
    telephone :string
}


// 返回的城市信息
export interface C {
	p: number;
	i: number;
	n: string;
}

export interface cityData {
	p: number;
	c: C[];
	i: number;
	n: string;
}